﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DxfMonitor.Data
{
    public class DxfFile
    {
        [Key]
        public int Id { get; set; }

        [Required]
        public int FolderId { get; set; }
        [Required]
        public string RelativePath { get; set; }
        [Required]
        public DateTime ModifiedDate { get; set; }
        [ForeignKey("FolderId")]
        public DxfFolder Folder { get; set; }

    }
}
